<?php
/**
 * Created by PhpStorm.
 * User: lyq
 * Date: 2018/12/13
 * Time: 18:03
 */
namespace app\wechat\controller;

use app\common\model\Settings;
use think\Controller;
use think\Db;

class Error extends Controller
{
    public function index($msg='')
    {
        $global = Settings::getSettings(H_SETTINGS_GLOBAL,2);
        $this->assign('global',$global);
        $msg = base64_decode($msg);
        $msg = json_decode($msg);
        $this->assign('msg',$msg);
        return $this->fetch();
    }
}